package io.ioscan.rzcoin.wallet.controller;

import io.ioscan.rzcoin.common.model.R;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WalletController {


    @PostMapping("/login")
    @ApiOperation(value = "钱包充值")
    @ApiImplicitParams({@ApiImplicitParam(name = "loginForm", value = "钱包充值参数")})
    public R recharge() {
        return R.ok();
    }

    @PostMapping("/login")
    @ApiOperation(value = "钱包提现")
    @ApiImplicitParams({@ApiImplicitParam(name = "loginForm", value = "钱包提现参数")})
    public R withdraw() {
        return R.ok();
    }
}
